/**
 * 
 */
package com.bestbuy.service;

import java.util.List;







import com.bestbuy.pojo.Product;
import com.bestbuy.pojo.ProductDetail;

/**
 * @author Tuan
 *
 */
public interface ProductService {

	public List<Product> getListProduct();
	public List<Product> Search(String keySearch,String idCatagory,String Page);
	public int TotalPage(String keySearch,String idCatagory);
	public Product getProduct(Integer idproduct);
	public Product getProduct(String idProduct);
	public void updateProduct(Product product);
	public void saveProduct(Product product);
	public void saveProductDetail(ProductDetail detail);
	public Product getProductByName(String nameProduct);
	
	//Test Delete
	public List<Product> getListProduct(String page, String isDelete);
	public int countProduct(String keySearch, String idCatagory, String isDelete);
	public List<Product> Search(String keySearch,String idCatagory,String page, String isDelete);
}
